package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("protect_gift_user")
public class ProtectGiftUser implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    //用户id
    private Integer userId;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @TableField(exist = false)
    private String userUuid;

    @TableField(exist = false)
    private String userName;
}